package com.jxy.bean.attribute;

import com.jxy.bean.ClassFile;
import com.jxy.tool.Tool;

import java.io.DataInputStream;
import java.util.Arrays;

public class AttributeBootstrapMethodInfo extends AttributeInfo {
    private AttributeBootstrapMethod[] bootstrap_methods;

    public AttributeBootstrapMethodInfo(DataInputStream dis, ClassFile cf) {
        super(dis, cf);
        bootstrap_methods = Tool.AttributeBootstrapMethod(dis, cf);
    }

    @Override
    public String toString() {
        return "AttributeBootstrapMethodInfo{" +
                "bootstrap_methods=" + Arrays.toString(bootstrap_methods) +
                '}';
    }
}
